package com.example.wx.dailyreport.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.wx.dailyreport.pojo.Dailyreport;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hulinbo
 * @since 2020-07-28
 */
public interface DailyreportMapper extends BaseMapper<Dailyreport> {

    List<Dailyreport> selectDailyreportBy(Dailyreport dailyreport, LocalDateTime start, LocalDateTime end, String reportcontent, int skip, int limit);

    List<Dailyreport> selectAdminReport(Dailyreport dailyreport, LocalDateTime start, LocalDateTime end, String reportcontent, int skip, int limit);

    int selectDailyreportCount(Dailyreport dailyreport, LocalDateTime start, LocalDateTime end, String reportcontent);

    int selectAdminReportCount(Dailyreport dailyreport, LocalDateTime start, LocalDateTime end, String reportcontent);

}
